package pojo;

import java.util.HashSet;
import java.util.Set;

public class PrisTeam1UserAccount implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Integer id;
	private String username;
	private String password;
	private String mail;
	private Set<PrisTeam1Car> prisTeam1Cars = new HashSet<PrisTeam1Car>(0);

	public PrisTeam1UserAccount() {
	}

	public PrisTeam1UserAccount(String username, String password, String mail,
			Set<PrisTeam1Car> prisTeam1Cars) {
		this.username = username;
		this.password = password;
		this.mail = mail;
		this.prisTeam1Cars = prisTeam1Cars;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getMail() {
		return this.mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public Set<PrisTeam1Car> getPrisTeam1Cars() {
		return this.prisTeam1Cars;
	}

	public void setPrisTeam1Cars(Set<PrisTeam1Car> prisTeam1Cars) {
		this.prisTeam1Cars = prisTeam1Cars;
	}

}
